<template>
    <div>
        <router-view />
        <!-- 菜单栏 -->
        <van-tabbar v-model="active" fixed route placeholder>
            <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
            <van-tabbar-item to="/user" icon="friends-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script>
export default {
    name: 'MyFooter',
    data() {
        return {
            active: 0,
        }
    },

}
</script>

<style lang="less" scoped>
.van-hairline-unset--top-bottom::after {
    border-width: 5px 0px;
}
</style>